import { request, METHOD } from "@/utils/request";
import {
  TAGLIST,
  TAGADD,
  TAGDEL,
  TAGEDIT,
  TAGDEVICE
} from "./api";

export function list(params) {
  return request(TAGLIST, METHOD.GET, params);
}
export function add(params) {
  return request(TAGADD, METHOD.POST, params);
}
export function del(params) {
  return request(TAGDEL, METHOD.POST, params);
}
export function update(params) {
  return request(TAGEDIT, METHOD.POST, params);
}
export function findById(params) {
  return request(TAGDEVICE, METHOD.POST, params);
}
